
package com.shhic.hhplt.testreport;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for TestReport complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="TestReport">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="testingProduct" type="{}testingProductType"/>
 *         &lt;element name="testSuite" type="{}testSuiteType" maxOccurs="unbounded"/>
 *         &lt;element name="bindingCode" type="{}BindingCodeType" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="reportTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
 *       &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TestReport", propOrder = {
    "testingProduct",
    "testSuite",
    "bindingCode"
})
@XmlRootElement
public class TestReport {

    @XmlElement(required = true)
    protected TestingProductType testingProduct;
    @XmlElement(required = true)
    protected List<TestSuiteType> testSuite;
    protected List<BindingCodeType> bindingCode;
    @XmlAttribute
    protected XMLGregorianCalendar reportTime;
    @XmlAttribute
    protected String version;

    /**
     * Gets the value of the testingProduct property.
     * 
     * @return
     *     possible object is
     *     {@link TestingProductType }
     *     
     */
    public TestingProductType getTestingProduct() {
        return testingProduct;
    }

    /**
     * Sets the value of the testingProduct property.
     * 
     * @param value
     *     allowed object is
     *     {@link TestingProductType }
     *     
     */
    public void setTestingProduct(TestingProductType value) {
        this.testingProduct = value;
    }

    /**
     * Gets the value of the testSuite property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the testSuite property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getTestSuite().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TestSuiteType }
     * 
     * 
     */
    public List<TestSuiteType> getTestSuite() {
        if (testSuite == null) {
            testSuite = new ArrayList<TestSuiteType>();
        }
        return this.testSuite;
    }

    /**
     * Gets the value of the bindingCode property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the bindingCode property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getBindingCode().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link BindingCodeType }
     * 
     * 
     */
    public List<BindingCodeType> getBindingCode() {
        if (bindingCode == null) {
            bindingCode = new ArrayList<BindingCodeType>();
        }
        return this.bindingCode;
    }

    /**
     * Gets the value of the reportTime property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getReportTime() {
        return reportTime;
    }

    /**
     * Sets the value of the reportTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setReportTime(XMLGregorianCalendar value) {
        this.reportTime = value;
    }

    /**
     * Gets the value of the version property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setVersion(String value) {
        this.version = value;
    }

}
